// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

// 引入样式重置文件
import './assets/css/reset.css'
// 引入字体图标库
import './assets/css/iconfont.css'

// 引入fastclick.js地，解决移动端300ms延时问题
import FastClick from 'fastclick'

// 引入轮播图插件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'

import axios from 'axios'

import store from './store'
Vue.prototype.$http = axios
// 使用
FastClick.attach(document.body)
// 使用轮播图插件
Vue.use(VueAwesomeSwiper)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
